package com.paireach.szwolaiyun.sz_util;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by ${cqc} on 2016/9/20.
 */
public class ToastUtil {

    private static Toast toast;

    public static void showShortToast(Context context,String content) {
        if (toast == null) {
            toast = Toast.makeText(context, "", Toast.LENGTH_SHORT);
        }
        toast.setText(content);
        toast.show();
    }
}
